﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace test_6_18
{
    class Official:Adult
    {
        private string Party;
        private string Post;
        public Official(string Party, string Post, string qualification, string profession, int iDcard, string name, string birthday):base( qualification,  profession, iDcard, name, birthday)
        {
            this.Party = Party;
            this.Post = Post;
        }
        new public string getInfor()
        {
            return base.getInfor() + " Party:" + Party + " Post:" + Post;
        }
    }
}
